<template>
  <div>
    <div>{{ money }}</div>
    <slot></slot>
    <slot name="title"></slot>
    <slot name="footer" :info="{ name: 'ifer', age: 18 }"></slot>
  </div>
</template>

<script>
export default {
  props: ['money'],
  setup(props, context) {
    // attrs => 非 props 属性
    // console.log(context.attrs)
    // 插槽
    console.log(context.slots)
  },
}
</script>
